package com.platform.springcloud.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "Application对象", description = "系统_应用平台")
public class Application {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键id")
	private Long id;

	@ApiModelProperty(value = "标识")
	private String code;

	@ApiModelProperty(value = "名称")
	private String name;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "组织机构id")
	private Long structureId;

	@ApiModelProperty(value = "创建用户代码")
	private String creatorCode;

	@ApiModelProperty(value = "创建用户名称[冗余]")
	private String creatorName;

	@ApiModelProperty(value = "创建时间")
	private Date createdAt;

	@ApiModelProperty(value = "创建用户部门代码[冗余][用于权限使用]")
	private String creatorOrgCode;

	@ApiModelProperty(value = "最后一次修改用户代码")
	private String modifierCode;

	@ApiModelProperty(value = "最后一次修改用户名称[冗余]")
	private String modifierName;

	@ApiModelProperty(value = "最后一次修改时间")
	private Date lastModifiedAt;

	@ApiModelProperty(value = "最后一次修改用户用户部门代码[冗余][用于权限使用]")
	private String modifierOrgCode;

	@ApiModelProperty(value = "版本号")
	private Integer version;

	@ApiModelProperty(value = "软删除标记{0:正常可用,其他数字:逻辑删除}[0:可用,&quot;&gt;0&quot;:不可用，删除]")
	private Long deleted;

}